package com.kaikeba.estack.common.util;

import com.google.gson.Gson;
import org.junit.Test;

import java.util.Map;

/**
 * @Auth xingwan
 * @Date 2020/10/11 21:31
 **/
public class JsonUtil {

    Gson gson = new Gson();

    @Test
    public void test_json(){
        String json = "{\n" +
                "\t\"count\": 1\n" +
                "}";
        System.out.println(gson.fromJson(json, Map.class));
    }
}
